package com.blog.entity.vo;
import java.util.Date;
import javax.persistence.Transient;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

@Data
public class ActiveVo {

		private Integer activeId;
		private Integer userId;//作者 
		private Integer type;//类型
		private String text;//内容
		private String title;
		private String tag; //标签
		private Integer visits;//访问量 
		private Integer state;
		private String pic;
		@DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;
		@DateTimeFormat(pattern="yyyy-MM-dd")
		private Date updateTime;
		private String typeName; //不显示
		private String username; //不显示
 
		
}
